package com.xiaomiMall.mange.mapper;

import com.xiaomiMall.mange.domain.FromProd;
import com.xiaomiMall.mange.domain.Prod;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface HomeBodyMapper {
     Prod select_id (Prod prod);
     List<Prod> selectAll ();
     int addProd(FromProd fromProd);
     int upAndDown(Prod prod);
     int updateOne(Prod prod);
     List<Prod> selectSign (@Param("sign")int sign, @Param("likeSelect")String likeSelect);
     Integer selectSignCount(@Param("sign")int sign, @Param("likeSelect")String likeSelect);
     int addProd_tetail(FromProd fromProd);
     Integer selectId(FromProd prod);
}
